//
//  HttpRequest.h
//  IWaneHome
//
//  Created by hwd on 印度历1938/4/7.
//  Copyright © 印度历1938年 hwd_zlg. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^HeardValue)(NSArray *heardArray,NSArray *videoArray);
typedef void(^ListValue)(NSArray *listArray);
@interface HttpRequest : NSObject
@property (nonatomic, strong) NSMutableArray * dataArray;

//get通用接口
+(void)GetrequestUrl:(NSString *)url Dic:(NSDictionary *)dic completion:(void (^)(NSDictionary *responseDic))complete;
//post通用接口
+(void)PostrequestUrl:(NSString *)url Dic:(NSDictionary *)dic  completion:(void (^)(NSDictionary *responseDic))complete;
//post通用接口2
+(void)PostMuTableDicrequestUrl:(NSString *)url Dic:(NSMutableDictionary *)dic  Controller:(UIViewController *)selfVC completion:(void (^)(NSDictionary *responseDic))complete;

+(void)PostFileRequestUrl:(NSData *)data Dic:(NSDictionary *)dic  completion:(void (^)(NSDictionary *responseDic))complete;
@end
